package com.yantong.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 账户记录流水
 * @Auther: kanghaixin
 * @Date: 2018/11/5 11:11
 * @Description:
 */
public class AmountLog implements Serializable {
    /**
     * 账户记录流水主键
     */
    private Long id;
    /**
     * 商户ID
     */
    private Long centreId;
    /**
     * 改变前金额
     */
    private BigDecimal beforeamount;
    /**
     * 变动金额
     */
    private BigDecimal money;
    /**
     * 改变后金额
     */
    private BigDecimal afteramount;
    /**
     * 费率
     */
    private BigDecimal rate;
    /**
     * 手续费
     */
    private BigDecimal poundage;
    /**
     * 订单ID
     */
    private Long orderId;
    /**
     * 订单编号
     */
    private String orderSn;
    /**
     * 订单商品ID
     */
    private Long orderProductId;
    /**
     * 商品ID
     */
    private Long productId;
    /**
     * 商品类型，0-商户自卖商品，1-平台商品
     */
    private Integer productType;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 备注
     */
    private String remark;
    /**
     * 备注
     */
    private Integer flowType;
    /**
     * 商户商品提点
     */
    private BigDecimal profitRate;
    
    /**
     * 商户商品提点汇率
     */
    private BigDecimal profitMoney;
    
    //充值卡id
    private Long shipcardId;
    
    //充值卡名称
    private String shipcardName;
    
    
    public Long getShipcardId() {
		return shipcardId;
	}

	public void setShipcardId(Long shipcardId) {
		this.shipcardId = shipcardId;
	}

	public String getShipcardName() {
		return shipcardName;
	}

	public void setShipcardName(String shipcardName) {
		this.shipcardName = shipcardName;
	}

    
	public BigDecimal getProfitMoney() {
		return profitMoney;
	}

	public void setProfitMoney(BigDecimal profitMoney) {
		this.profitMoney = profitMoney;
	}

	public BigDecimal getProfitRate() {
		return profitRate;
	}

	public void setProfitRate(BigDecimal profitRate) {
		this.profitRate = profitRate;
	}

	public BigDecimal getBeforeamount() {
		return beforeamount;
	}

	public void setBeforeamount(BigDecimal beforeamount) {
		this.beforeamount = beforeamount;
	}

	public BigDecimal getAfteramount() {
		return afteramount;
	}

	public void setAfteramount(BigDecimal afteramount) {
		this.afteramount = afteramount;
	}

	public Integer getFlowType() {
		return flowType;
	}

	public void setFlowType(Integer flowType) {
		this.flowType = flowType;
	}

	/**
     * 商户名称
     * @return
     */
    private String centreName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCentreId() {
        return centreId;
    }

    public void setCentreId(Long centreId) {
        this.centreId = centreId;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getRate() {
        return rate;
    }

    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }

    public BigDecimal getPoundage() {
        return poundage;
    }

    public void setPoundage(BigDecimal poundage) {
        this.poundage = poundage;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getOrderProductId() {
        return orderProductId;
    }

    public void setOrderProductId(Long orderProductId) {
        this.orderProductId = orderProductId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public String getCentreName() {
        return centreName;
    }

    public void setCentreName(String centreName) {
        this.centreName = centreName;
    }
}
